<?php namespace App\Http\Controllers\Index;

use App\Http\Controllers\Controller;
use Illuminate\Contracts\Auth\Guard;
use Illuminate\Contracts\Auth\PasswordBroker;
use Illuminate\Foundation\Auth\ResetsPasswords;

class PasswordController extends Controller
{

    use ResetsPasswords;

    protected $redirectPath = '/';
    protected $loginPath = '/account/login';

    public function __construct(Guard $auth, PasswordBroker $passwords)
    {
        $this->auth = $auth;
        $this->passwords = $passwords;

        $this->middleware('guest');
    }

    public function getMail()
    {
        return view('index.password.mail');
    }

    public function getReset()
    {
        return view('index.password.reset');
    }

}
